package cn.da.shuai.cool.system.model.entity.position;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * 用户和岗位关联表
 *
 * @author 大帅哥
 * @since 2025-01-03
 */
@Getter
@Setter
@TableName("cool_user_position")
@Schema(name = "CoolUserPosition", description = "用户和岗位关联表")
public class CoolUserPosition {

    @Schema(description = "用户ID")
    @TableField("user_id")
    private Long userId;

    @Schema(description = "岗位ID")
    @TableField("position_id")
    private Long positionId;
}